/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.z100h.supplychain.customer.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.jeeplus.core.persistence.BaseMapper;
import com.jeeplus.core.persistence.annotation.MyBatisMapper;
import com.z100h.supplychain.customer.entity.CustomerStockroom;

/**
 * 客户仓库MAPPER接口
 * @author fyh
 * @version 2019-04-22
 */
@MyBatisMapper
public interface CustomerStockroomMapper extends BaseMapper<CustomerStockroom> {

	public CustomerStockroom findByStockroomId(String stockroomId);

	public void updateRepairStockoutId(@Param("stockroomId") String stockroomId,
			@Param("evidenceId") String evidenceId);

	public List<String> findRepairIdsByStockroomId(String stockroomId);

	public List<CustomerStockroom> findNeedProduce(CustomerStockroom customerStockroom);

	public CustomerStockroom getCustomerStockroomByOrderId(String orderId);

	public CustomerStockroom getProjectIdByStockroomId(String stockroomId);

	public String getCustomerIdByStockroomId(String stockroomId);
}